<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./echarts.js"></script>
</head>

<body>
    <div class="box" style="width:100%;height:400px"></div>
</body>

</html>
<script>
    let box = document.querySelector('.box')
    let obj = echarts.init(box)
    let option = {
        series: [
            {
                type: 'pie',
                data: [300, 260, 220, 180, 140, 100],
                // 南丁格尔图
                roseType: 'radius',
                labelLine: {
                    show: false
                }
            }
        ]
    }
    obj.setOption(option)
</script>